//
//  BK_My_Order_CellModel.m
//  bestkeep
//
//  Created by TOPTEAM on 2017/2/17.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import "BK_My_Order_CellModel.h"
#import "BK_My_Order_CollectionViewCell.h"
#import "BKMyOrderRecommendCell.h"
@implementation BK_My_Order_CellModel

+(BK_My_Order_CellModel *)Create_Cell_WithModel:(BK_My_Order_rows_itemList_Model *)model{
    
    BK_My_Order_CellModel *cell = [[BK_My_Order_CellModel alloc]init];
    cell.DetailModel = model;
    cell.className = NSStringFromClass([BK_My_Order_DetaiCell class]);
//    cell.ItemSize = CGSizeMake(ScreenWidth, 86);
    cell.ItemSize = CGSizeMake(ScreenWidth, 75+10+5);
    
    cell.reuseIdentifier = @"OrderCell";
    
    return cell;
}

+(BK_My_Order_CellModel*)getRecommendGoodsModelWith:(BkMyOrderRecommendModel *)model{
    
    BK_My_Order_CellModel *model1 = [[BK_My_Order_CellModel alloc]init];
    model1.ItemSize = CGSizeMake((ScreenWidth-0.9)/2, (ScreenWidth -2)/2);
    model1.className = NSStringFromClass([BKMyOrderRecommendCell class]);
    model1.reuseIdentifier = @"recommendcell";
    model1.recommendModel = model;
    return model1;
    //return buyCar;
}

@end








